package com.example.qiniuapi.data;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.io.File;

@Getter
@Setter
@Accessors(chain = true)
public class UploadParam {
    private String directory;

    @NotNull
    private String filename;

    @NotNull
    private byte[] file;
}
